package com.cx.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee {

    private Integer empId;
    private String empNo;
    private String empName;
    private Date empBirthday;
    private String empJoined;
    private String empPost;
    private String empDepNo;
    private double empSalary;

    @TableField(exist = false)
    private Department department;

}
